package dao;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;

import dao.utils.GenericHibernateDAO;
import domain.Reservas;

public class ReservasDAOImpl extends GenericHibernateDAO implements ReservasDAO {

	public ReservasDAOImpl(Session s) {
		super(s);
	}

	@Override
	public List<Reservas> findAll() {
		Query q=getSession().createQuery("From Reservas");
		return q.list();
	}
	
}